import myAxio from '../request.js'

export function getBannerAjax(){
    return myAxio.get({
        url:"/banner"
    })
}

export function getHotRecommends(limit = 10) {
    return myAxio.get({
      url: "/personalized",
      params: {
        limit
      }
    })
  }
  
  export function getNewAlbums(limit = 10) {
    return myAxio.get({
      url: "/top/album",
      params: {
        limit
      }
    })
  }
  
  export function getTopList(idx) {
    return myAxio.get({
      url: "/top/list",
      params: {
        idx
      }
    })
  }

  export function getDjHot(){
    return myAxio.get({
      url:"/dj/hot"
    })
  }
  